package com.wlps.service.function;

import com.wlps.entity.Client;
import com.wlps.entity.Order;

/**
 * <p>
 *抽象控制器
 * </p>
 *
 * @author ZWYZY
 * @since 2020/7/31
 */
public abstract class AbstractController {
    private GenerateOrder generateOrder;


    /**根据订单类型发送给哪个地方
     * @param order
     */
    public void sendOrderController(Order order){

    }
    public abstract boolean  judgeHasCommodity(long id);

    public abstract Order generateOrder(Client client,long id);
}
